#pragma once

struct DahuaCamera {
    SCameraInfo *info;
    int64_t loginID;
    int64_t alarmHandle;
    DahuaCamera()
        : loginID(0)
        , alarmHandle(0)
    {}
};

namespace DahuaDev
{

    extern void init();
    extern void cleanup();
    extern bool login(SCameraInfo* dev);
};

